home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / program / cprog.EXE / CC_1.ZIP / FEOF.C < prev    next >
Text File  |  1988-02-01  |  384b  |  10 lines

  1. /*
  2. ** test for EOF on stream
  3. */
  4. #define FILE int
  5. #include "streamio.h"
  6.  
  7. feof(stream) FILE *stream; {
  8.   return ((stream[_IOB_FLAG] & _EOF) != 0);
  9.   }
  10.